package com.runrunfast.face.dao;

import com.runrunfast.face.entity.DeviceRelation;
import org.springframework.data.jpa.repository.JpaRepository;


/**
 * @author YangNing
 */
public interface DeviceRelationRepository extends JpaRepository<DeviceRelation, Long> {

    DeviceRelation findByDeviceId(String deviceId);

    DeviceRelation findByThingId(String thingId);

}
